import http from '../index'
export const getUser=()=>http({
    url:'/api/user/',
    method:'get'
})
export const updatePersonal=(data)=>http({
    url:'/api/user/updateUser',
    method:'put',
    data
})